package com.yunshan.mp.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.yunshan.common.annotation.Excel;
import com.yunshan.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 服务设置banner对象 mp_serve_banner
 * 
 * @author yunshan
 * @date 2025-02-12
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MpServeBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** banner图片 */
    @ApiModelProperty("banner图片")
    @Excel(name = "banner图片")
    private String bannerImg;

    /** 服务类型 */
    @ApiModelProperty("服务类型")
    @Excel(name = "服务类型")
    private Integer serveType;

    /** 排序 */
    @ApiModelProperty("排序")
    @Excel(name = "排序")
    private Integer sort;

    /** 状态0:上架 1下架 */
    @ApiModelProperty("状态0:上架 1下架")
    @Excel(name = "状态0:上架 1下架")
    private Integer status;

    /** 是否删除0:未删除,1:删除 */
    @ApiModelProperty("状是否删除0:未删除,1:删除")
    @Excel(name = "是否删除0:未删除,1:删除")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Integer isDeleted;

    /** 开始时间 */
    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Date startTime;

    /** 结束时间 */
    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Date endTime;
}
